package com.tencent.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_course")
public class Course implements Serializable {
    private BigInteger id;
    private String title;

    @TableField("create_time")
    private String createTime;
    @TableField("joinTimes")
    private Integer joinTimes;

    @TableField("start_Time")
    private String startTime;

    @TableField("end_Time")
    private String endTime;


    private String description;
    private String goal;
    private String outline;
    private BigDecimal price;

    private String coursePicture;

//用户表
     @TableField(exist = false)
    private Integer userId;
    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String phone;

//   课程类型表
   @TableField(exist = false)
    private String tid;

    @TableField(exist = false)
    private String tName;



    @TableField(exist = false)
    private Integer pageNum;
    @TableField(exist = false)
    private Integer PageSize;

    public void setId(BigInteger id) {
        this.id = id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setJoinTimes(Integer joinTimes) {
        this.joinTimes = joinTimes;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setGoal(String goal) {
        this.goal = goal;
    }

    public void setOutline(String outline) {
        this.outline = outline;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public void setCoursePicture(String coursePicture) {
        this.coursePicture = coursePicture;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public void setPageSize(Integer pageSize) {
        PageSize = pageSize;
    }

    public BigInteger getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public String getCreateTime() {
        return createTime;
    }

    public Integer getJoinTimes() {
        return joinTimes;
    }

    public String getStartTime() {
        return startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public String getDescription() {
        return description;
    }

    public String getGoal() {
        return goal;
    }

    public String getOutline() {
        return outline;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public String getCoursePicture() {
        return coursePicture;
    }

    public Integer getUserId() {
        return userId;
    }

    public String getUserName() {
        return userName;
    }

    public String getPhone() {
        return phone;
    }

    public String getTid() {
        return tid;
    }

    public String gettName() {
        return tName;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public Integer getPageSize() {
        return PageSize;
    }

    public Course(BigInteger id, String title, String createTime, Integer joinTimes, String startTime, String endTime, String description, String goal, String outline, BigDecimal price, String coursePicture, Integer userId, String userName, String phone, String tid, String tName, Integer pageNum, Integer pageSize) {
        this.id = id;
        this.title = title;
        this.createTime = createTime;
        this.joinTimes = joinTimes;
        this.startTime = startTime;
        this.endTime = endTime;
        this.description = description;
        this.goal = goal;
        this.outline = outline;
        this.price = price;
        this.coursePicture = coursePicture;
        this.userId = userId;
        this.userName = userName;
        this.phone = phone;
        this.tid = tid;
        this.tName = tName;
        this.pageNum = pageNum;
        PageSize = pageSize;
    }

    public Course() {
    }
}
